import request from '@/utils/request'

// 查询送料日报按照车辆分组
export function listPoundByCar(query) {
  return request({
    url: '/supplier/diary/listByCarNum',
    method: 'get',
    params: query
  })
}

// 查询送料日报按照预约送达时间分组
export function listPoundByReservationDate(query) {
  return request({
    url: '/supplier/diary/listByReservationDate',
    method: 'get',
    params: query
  })
}

// 查询送料日报按照品名分组
export function listPoundByFuel(query) {
  return request({
    url: '/supplier/diary/listByFuelId',
    method: 'get',
    params: query
  })
}

// 查询送料日报按照供应商分组
export function listPoundBySupplier(query) {
  return request({
    url: '/supplier/diary/listBySupplierId',
    method: 'get',
    params: query
  })
}
